package com.zxl.gulimall.ware.feign;

import com.zxl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

//@FeignClient("gulimall-gateway")
@FeignClient("gulimall-product")
public interface ProductFengnService {

    //@RequestMapping("/api/product/skuinfo/info/{skuId}")
    @RequestMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
